// import Vue from "vue";
//
// window.CESIUM_BASE_URL = "./Cesium/V1.70.1/";
// Cesium.Ion.defaultAccessToken =
//     "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI3MDlmNjQ1Yy0yOTEzLTQwOGUtODg4OC1mNmNlN2M2NDBiNDgiLCJpZCI6MTg1NTksInNjb3BlcyI6WyJhc3IiLCJnYyJdLCJpYXQiOjE1NzQwNTc1Mjd9.JSreNG--SBKAAUCdAFnxhRBK_4CqOAsgMODgpJsbz1M";
//
//
// Vue.prototype.setCesiumViewer = function(viewer) {
//     //Vue.prototype.$viewer = viewer;
//     window.cesiumViewer = viewer;
//     window.cesiumPickPosition = function(position) {
//         let that = this;
//         let viewer = window.cesiumViewer;
//         let picks = viewer.scene.drillPick(position);
//         viewer.render();
//
//         let ray = viewer.camera.getPickRay(position);
//         if (ray) {
//             let cartesian3 = viewer.scene.globe.pick(ray, viewer.scene);
//             return cartesian3;
//         }
//         return null;
//     };
// };
